using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using WeifenLuo.WinFormsUI.Docking;
using System.Workflow.ComponentModel.Design;

namespace OpenComposite.EII.Designer.Workflow
{
	public partial class FormWorkflowToolbox : DockContent
	{
		#region Initialization
		public FormWorkflowToolbox(IServiceProvider svcprovider)
		{
			_svcprovider = svcprovider;

			InitializeComponent();

			init();
		}
		private void init()
		{
			ToolboxService toolbox = new ToolboxService(_svcprovider);
			toolbox.Dock = DockStyle.Fill;
			toolbox.BackColor = this.BackColor;
			toolbox.Font = WorkflowTheme.CurrentTheme.AmbientTheme.Font;

			this.Controls.Add(toolbox);
		}
		#endregion

		#region Private Members

		#region Variables
		private IServiceProvider _svcprovider;
		#endregion

		#endregion
	}
}